package com.springboot;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.Banner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.transaction.annotation.EnableTransactionManagement;


/**
 * @author zyj
 * @date 18:00 2018/7/17
 */
@SpringBootApplication
@EnableTransactionManagement
@EnableAsync
public class MySpringBootFlowable {
	public static void main(String[] args) {
		SpringApplicationBuilder builder = new SpringApplicationBuilder(MySpringBootFlowable.class);
		SpringApplication build = builder.build();
		build.setBannerMode(Banner.Mode.OFF);
		build.run(args);
	}

}
